﻿using System.Drawing;
using RRRSRoguelike.Enums;

namespace RRRSRoguelike.Entities.Props
{
	/// <summary>
	/// Steps are the linking object between different dungeon levels
	/// Inherits <c>Tile</c>.
	/// </summary>
	public class Stairwell : Prop
	{
		
		//HACK: is the stairwell a prop???
		
		/// <summary>
		/// Up or down?
		/// </summary>
		public StairDirection StairDirection { get; set; }

		/// <summary>
		/// constructor
		/// </summary>
		/// <param name="position"></param>
		/// <param name="upOrDown"></param>
		public Stairwell(Point position, StairDirection upOrDown)
			: base(Constants.StepsImage, Constants.StepUpColor, position)
		{
			//HACK: hardcode
			Name = "Stairwell";
			Description = "A darkened twisting stair carved out of rock.";
			StairDirection = upOrDown;
			Color = StairDirection == StairDirection.Up ? Constants.StepUpColor : Constants.StepDownColor;
		}
	}
}
